import { DescItem } from "@/components/GuatDescriptions/type";
import { Property as P } from "@/map/member/index";
import {
  PointMultipleChangePropertyMap as PMCPM,
  PointTypePropertyMap as PTPM,
} from "@/map/point/property-map";

export const baseInfoDesc: DescItem[] = [
  { label: "标题", path: PMCPM.Title },
  { label: "积分类型", path: `${PMCPM.PointType}.${PTPM.Name}` },
  { label: "备注", path: PMCPM.Remark },
];

export const memberInfoDesc: DescItem[] = [
  {
    label: "姓名",
    path: P.MemberPropertyMap.Name,
  },
  {
    label: "学号",
    path: P.MemberPropertyMap.No,
  },
  {
    label: "班级",
    path: P.MemberPropertyMap.Class,
  },
  {
    label: "联系方式",
    path: P.MemberPropertyMap.Class,
  },
  {
    label: "当前积分",
    path: P.MemberPropertyMap.TotalPoint,
  },
];
